package cn.com.cifi.mars.bean.vo.supply;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * @author yyd
 */
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "年度供货版本对比基础类", description = "年度供货版本对比基础类")
public class YearMonthComfirmVO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 时间
	 */
	private String yearMonth;

	/**
	 * 预算版
	 */
	private ComfirmBaseValueVO budgetValue;
	/**
	 * 动态版
	 */
	private ComfirmBaseValueVO dynamicValue;
	/**
	 * 差异
	 */
	private ComfirmBaseValueVO differenceValue;

	public String getYearMonth() {
		return yearMonth;
	}

	public void setYearMonth(String yearMonth) {
		this.yearMonth = yearMonth;
	}

	public ComfirmBaseValueVO getBudgetValue() {
		if(budgetValue == null) {
			budgetValue = new ComfirmBaseValueVO();
		}
		return budgetValue;
	}

	public void setBudgetValue(ComfirmBaseValueVO budgetValue) {
		this.budgetValue = budgetValue;
	}

	public ComfirmBaseValueVO getDynamicValue() {
		if(dynamicValue == null) {
			dynamicValue = new ComfirmBaseValueVO();
		}
		return dynamicValue;
	}

	public void setDynamicValue(ComfirmBaseValueVO dynamicValue) {
		this.dynamicValue = dynamicValue;
	}

	public ComfirmBaseValueVO getDifferenceValue() {
		if(differenceValue == null) {
			differenceValue = new ComfirmBaseValueVO();
		}
		return differenceValue;
	}

	public void setDifferenceValue(ComfirmBaseValueVO differenceValue) {
		this.differenceValue = differenceValue;
	}

	@Override
	public String toString() {
		return "YearMonthComfirmVO{" +
				"yearMonth='" + yearMonth + '\'' +
				", budgetValue=" + budgetValue +
				", dynamicValue=" + dynamicValue +
				", differenceValue=" + differenceValue +
				'}';
	}
}
